package com.lc.zpyh.http.request;

import com.hjq.http.config.IRequestApi;

public class PhoneSwapeApi implements IRequestApi {
    private String oldPhone;
    private String newPhone;
    private String code;

    public PhoneSwapeApi setOldPhone(String oldPhone) {

        this.oldPhone = oldPhone;
        return this;
    }

    public PhoneSwapeApi setNewPhone(String newPhone) {
        this.newPhone = newPhone;
        return this;
    }

    public PhoneSwapeApi setCode(String code) {
        this.code = code;
        return this;
    }

    @Override
    public String getApi() {
        return "user/login/phoneSwap";
    }
}
